Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-256720 | VCLU-70-000015 | SV-256720r888751_rule | Medium |
Description |
---|
The Java Runtime environment can cause a memory leak or lock files under certain conditions. Without memory leak protection, Lookup Service can continue to consume system resources, which will lead to "OutOfMemoryErrors" when reloading web applications. Memory leaks occur when JRE code uses the context class loader to load a singleton as this will cause a memory leak if a web application class loader happens to be the context class loader at the time. The "JreMemoryLeakPreventionListener" class is designed to initialize these singletons when Tomcat's common class loader is the context class loader. Proper use of JRE memory leak protection will ensure that the hosted application does not consume system resources and cause an unstable environment. |
STIG | Date |
---|---|
VMware vSphere 7.0 vCenter Appliance Lookup Service Security Technical Implementation Guide | 2023-02-21 |
Check Text ( C-60395r888749_chk ) |
---|
At the command prompt, run the following command: # grep JreMemoryLeakPreventionListener /usr/lib/vmware-lookupsvc/conf/server.xml Expected result: If the output of the command does not match the expected result, this is a finding. |
Fix Text (F-60338r888750_fix) |
---|
Navigate to and open: /usr/lib/vmware-lookupsvc/conf/server.xml Navigate to the Add ' Restart the service with the following command: # vmon-cli --restart lookupsvc |